#! /bin/bash
mainCls=com.sense.cloud.send.app.StartDBProvider
apphome=/home/cloud/cloudSendDBProvider

jvmopts="-Xms1536m -Xmx1536m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=1 "
classpath=$apphome/conf:$apphome/lib/*

#开始启动
exec java $jvmopts -cp $classpath $mainCls 
